package com.wuhongyu.repository;

import com.wuhongyu.base.BaseDao;
import com.wuhongyu.entity.Plan;
import com.wuhongyu.entity.Refer;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface PlanDao extends BaseDao<Plan> {

    /**
     * 通过销售机会表查找计划
     * @param refer
     * @return
     */
    List<Plan> findByReferEquals(Refer refer);

}
